package com.repair.entity.model;

import java.time.LocalDate;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 报修申请
 * </p>
 *
 * @author tianwenle
 * @since 2023-04-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ApplicationForRepair extends BaseEntity implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 教师编号
     */
    private String teacherNo;

    /**
     * 维修单号
     */
    @TableId(value = "repairOrder_no",type = IdType.NONE)
      private String repairOrderNo;

    /**
     * 报修日期
     */
    private LocalDate dateOfRepairRequest;

    /**
     * 故障描述
     */
    private String faultDescription;

    /**
     * 故障图片
     */
    private String faultPicture;


    /**
     * 设备ID
     */
    @TableField("Application_For_Repair_Id")
    private Integer applicationForRepairId;


}
